Skip to content

Conversation

@kimjihyo
Copy link
Collaborator

@kimjihyo kimjihyo commented Jan 6, 2026

🔸 작업 내용

🔸 고민 했던 부분

CDN vs local font

CDN으로 폰트를 불러올지 local 폰트로 적용할지 고민했으나 다음과 같은 이유로 로컬 폰트를 선택했습니다:

  • 빌드 시 자동으로 서브셋, preload, CSS 분리 처리됨 -> LCP / CLS 점수 관리 쉬움
  • 네트워크 요청 감소: 외부 도메인 요청 없음 → 초기 로딩 good

특정 브라우저에서 Pretendard Variable가 이상하게 렌더링 되는 이슈

  • https://jw910911.tistory.com/183#google_vignette
  • 위 링크 처럼, 저를 포함해서 여러 프리텐다드 이용자가 프리텐다드 폰트가 이상하게 렌더링된다는 이슈를 보고하고 있습니다.
  • 이 문제는 CSS의 font-synthesis: none을 적용하면 해결됩니다. 따라서 우리 프로젝트에도 추가했습니다.
  • font-synthesis 옵션은 브라우저가 없는 스타일/굵기를 억지로 만들어서(faux/synthetic) 생기는 현상을 방지하는데, font-synthesis: none을 안 걸면, 상황에 따라 가짜 bold/italic이 섞이면서 더 굵어 보이거나(embolden), 획이 뭉개지거나, 자간/렌더링이 이상해 보이는 느낌이 나올 수 있습니다.

- font-synthesis: none을 추가함: 특정 브라우저에서 프리텐다드 폰트가 제대로 렌더링되지 않는 이슈가 있음
- 프리텐다드 폰트를 로컬 폰트로 추가함: Next.js 폰트 관련 최적화 이점을 누리기 위함
Copy link
Collaborator

@swgivenchy swgivenchy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

font-synthesis에 대해 처음들어봤네요 배워갑니다!!
고생하셨습니다!

Copy link
Collaborator

@rwaeng rwaeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이상하게 렌더링 되는 이슈가 있군요! 저도 font-sysnthesis에 대해 배워갑니다👍

@kimjihyo kimjihyo merged commit 902f50a into develop Jan 6, 2026
5 checks passed
@kimjihyo kimjihyo deleted the feature/#107 branch January 6, 2026 09:13
@kimjihyo kimjihyo linked an issue Jan 6, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Next.js 프로젝트에 프리텐다드 추가하기

4 participants